package com.yuyou.fn.crm.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.common.util.Principals;
import com.yuyou.fn.crm.entity.WorkSetupOfCampus;
import com.yuyou.fn.crm.vo.WorkSetupOfCampusSaveOrUpdateVo;
import com.yuyou.fn.platform.permission.DataPermission;

import java.util.List;

/**
 *
 * WorkSetupOfCampus 表数据服务层接口
 *
 */
public interface IWorkSetupOfCampusService extends ISuperService<WorkSetupOfCampus,Long> {


    void saveOrUpdateWorkSetupOfCampus(WorkSetupOfCampusSaveOrUpdateVo saveOrUpdateVo, Principals.Principal principal);

    List<WorkSetupOfCampus> findWorkSetupOfCampusByAreaTeamId(DataPermission dataPermission, Long areaTeamId, Long campusId);

    List<WorkSetupOfCampus> findWorkSetupOfCampusOfOpen(List<Long> campusIds);

}